/** \file qwwmenu.h
 * \brief QWordWizard menu
 */
#ifndef __QWWMENU_H
#define __QWWMENU_H

#include <memory>

#include <QSystemTrayIcon>
#include <QIcon>
#include <QMenu>
#include <QAction>

using namespace std;

/** \class QWWMenu
 * \brief QWordWizard menu
 */
class QWWMenu
{
    public:
        /**
         * Constructor
         * \param parent Parent widget
         */
        QWWMenu(QWidget *parent = 0);

        /**
         * Destructor
         */
        ~QWWMenu();

    public:
        auto_ptr<QSystemTrayIcon> mp_tray;                      /**< System tray */
        auto_ptr<QMenu> mp_tray_menu;                           /**< System tray menu */

        auto_ptr<QAction> mp_show_hide_action;                  /**< "Show/Hide" action */
        auto_ptr<QAction> mp_move_freeze_action;                /**< "Move/Freeze" action */
        auto_ptr<QAction> mp_about_action;                      /**< "About" action */
        auto_ptr<QAction> mp_settings_action;                   /**< "Settings" action */
        auto_ptr<QAction> mp_quit_action;                       /**< "Quit" action */

        auto_ptr<QIcon> mp_active_icon;                         /**< Active icon */
        auto_ptr<QIcon> mp_inactive_icon;                       /**< Inactive icon */
};

#endif
